<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:77:"D:\wwwroot\fangcms_city_add\public/../application/home\view\chuzu\detail.html";i:1493799047;s:78:"D:\wwwroot\fangcms_city_add\public/../application/home\view\public\layout.html";i:1493431594;s:76:"D:\wwwroot\fangcms_city_add\public/../application/home\view\chuzu\right.html";i:1493349322;s:78:"D:\wwwroot\fangcms_city_add\public/../application/home\view\public\footer.html";i:1493803247;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<!-- manifest="cache.manifest" -->
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo['title']; ?></title>
    <meta name="keywords" content="<?php echo $seo['keys']; ?>" />
    <meta name="description" content="<?php echo $seo['desc']; ?>" />
    <link type="text/css" rel="stylesheet"  href="__CSS__/format_dom.css"/>
    <link type="text/css" rel="stylesheet"  href="__CSS__/main.css"/>
    <!--[if lte IE 8]>
    <script src="__JS__/ie/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
    <script src="__PUBLIC__/js/jquery.min.js"></script>
</head>
<body>
<div>
    <div class="top_line">
        <div class="main">
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <li><a href="<?php echo url('Agency/index'); ?>">经纪人</a></li>
            </ul>
            <?php if(empty($userInfo) || (($userInfo instanceof \think\Collection || $userInfo instanceof \think\Paginator ) && $userInfo->isEmpty())): ?>
            <span><a href="<?php echo url('user.login/index'); ?>" >登录</a></span>
            <span><a href="<?php echo url('user.login/reg'); ?>" >注册</a></span>
            <?php else: ?>
            <div style="float:right;color:#fff;"><em><?php echo $userInfo['nickname']; ?></em>,欢迎您的到来 <a href="<?php echo url('user.index/index'); ?>">会员中心</a> | <a href="<?php echo url('user.login/logout'); ?>">退出</a></div>
            <?php endif; ?>
        </div>
    </div>
    <div class="top_nav">
        <div class="top">
            <span class="logo"><img src="<?php echo $site['pcLogo']; ?>" width="80" height="64"></span>
            <div class="city city-box"><span class="city_span"></span><?php echo $cityInfo['name']; ?></div>
            <div class="city_box" id="CPM" style="display:none;">
                <div class="cities-con">
                    <p class="tit">选择城市 <a href="<?php echo url('Index/index@www'); ?>" class="gd_btn">更多城市</a></p>
                    <ul class="cities-opts clearfix">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="clearfix">
                            <em class="icons"><?php echo $key; ?></em>
                            <p>
                                <?php if(is_array($vo) || $vo instanceof \think\Collection || $vo instanceof \think\Paginator): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <a <?php if($val['is_hot'] == 1): ?>class="highlight"<?php endif; ?> href="<?php echo url('Index/index@'.$val['domain']); ?>"><?php echo $val['name']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </p>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <i></i>
                </div>
                <a href="javascript:;" class="close_btn">×</a>
            </div>
            <div class="nav t_mar">
                <ul>
                    <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                    <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="h_l_s overflow_h">
        <form action="<?php echo url('Loupan/index'); ?>" method="get" id="search-form">
            <div class="h_l_s_box">
<span class="h_l_input">
<input name="keyword" type="text" class="h_l_i" id="keyword" placeholder="请输入楼盘名称">
<a href="javascript:;" class="but03" id="search-btn">搜索</a>
</span>
                <a href="<?php echo url('Map/index'); ?>" class="but04">地图找房</a>
            </div>
        </form>
    </div>
    
</div>

<div class="main overflow_h">
    <div class="position"><p><span>更新时间：<?php echo date("Y年m月d日"); ?></span>您当前的位置：<a href="<?php echo url('Index/index'); ?>"><?php echo $site['title']; ?></a> > <a href="<?php echo url('Chuzu/index'); ?>">出租房</a>&gt; <?php echo $info['title']; ?> </p></div>
    <div class="m_t_15 overflow_h">
        <div class="n_h_simg detail_slide">
            <div class="n_h_simg01 large_box">
                <ul>
                    <li>
                        <img src="<?php echo $info['img']; ?>" width="562" height="420">
                    </li>
                    <?php if(!(empty($info['file']) || (($info['file'] instanceof \think\Collection || $info['file'] instanceof \think\Paginator ) && $info['file']->isEmpty()))): if(is_array($info['file']) || $info['file'] instanceof \think\Collection || $info['file'] instanceof \think\Paginator): $i = 0; $__LIST__ = $info['file'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li style="display: none;">
                        <img src="<?php echo $vo['url']; ?>" width="562" height="420">
                    </li>
                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                </ul>
            </div>
            <div class="n_h_simg02">
                <span class="n_arr01 left_btn"></span>
                <div class="small_list">
                    <ul>
                        <li class="on">
                            <div class="n_h_simg02_t"><a href="javascript:;">封面图</a></div>
                            <img src="<?php echo $info['img']; ?>" width="88" height="66">
                        </li>
                        <?php if(is_array($info['file']) || $info['file'] instanceof \think\Collection || $info['file'] instanceof \think\Paginator): $i = 0; $__LIST__ = $info['file'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li>
                            <div class="n_h_simg02_t"><a target="_blank" href="javascript:;"><?php echo $vo['title']; ?></a></div>
                            <img src="<?php echo $vo['url']; ?>" width="88" height="66">
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>

                    </ul>
                </div>
                <span class="n_arr02 right_btn"></span></div>
        </div>
        <div class="n_h_text">
            <div class="n_h_t1 overflow_h">
                <b><?php echo $info['title']; ?></b>
            </div>
            <div class="h_ts" style="width:596px;">

                <i class="h_ts01"><?php echo $zhuangxiu; ?></i>
                <i class="h_ts01"><?php echo $chaoxiang; ?></i>
            </div>
            <div class="s_h_s01 overflow_h">
                <ul >
                    <li class="overflow_h" style="width:596px">
                        <span class="text13 s_t1">租金：</span>
                        <span class="s_t1"><i class="text14"><?php echo $info['price']; ?></i>元/月</span>
                        <span class="text13 s_t1"><?php echo $rentaltype; ?> <?php echo $rentalpay; ?> </span>
                    </li>
                   <li><span class="text13 s_t1">楼层：</span><span class="s_t1">第<?php echo $info['floor']; ?>层/共<?php echo $info['total_floor']; ?>层</span></li>
                    <li><span class="text13 s_t1">面积：</span><span class="s_t1"><strong><?php echo $info['mianji']; ?>m<sup>2</sup></strong></span></li>
                    <li><span class="text13 s_t1">朝向：</span><span class="s_t1"><?php echo $chaoxiang; ?></span></li>
                    <li><span class="text13 s_t1">户型：</span><span class="s_t1"><strong><?php echo $info['room']; ?>房<?php echo $info['ting']; ?>厅</strong></span></li>
                    <li><span class="text13 s_t1">装修：</span><span class="s_t1"><?php echo $zhuangxiu; ?></span></li>
                    <li style="width:596px"><span class="text13 s_t1">小区：</span><a href="<?php echo url('Xiaoqu/detail',['id'=>$info['estate_id']]); ?>"><?php echo $info['estate_name']; ?></a> <?php echo $info['niandai']; ?>年建</li>
                    <li style="width:596px">
                        <span class="text13 s_t1">地址：</span>
                        <span class="s_t1">
                            <?php echo $info['city_name']; ?><?php echo $info['area_name']; ?>
                        </span>
                        <span class="text13 s_t1"><?php echo $info['address']; ?></span>
                        <span class="s_t2"></span>
                    </li>
                </ul>
            </div>
            <?php if(empty($info['user_id']) || (($info['user_id'] instanceof \think\Collection || $info['user_id'] instanceof \think\Paginator ) && $info['user_id']->isEmpty())): ?>
            <div class="s_h_s02 overflow_h">
                <dl>
                    <dt><img src="<?php echo $site['pcLogo']; ?>" width="51" height="49"></dt>
                    <dd><span class="s_th1"><?php echo $info['contact']; ?></span><div class=" float_l"><span class="s_th2"></span><span class="s_th3">该房源我最了解，实时保持更新</span></div><a href="javascript:;" data-uri="<?php echo url('Ajax/rentalBook',['id'=>$info['id'],'type'=>1]); ?>" class="but16 J_dialog">预约看房</a></dd>
                    <dd><?php echo $site['title']; ?>置业顾问</dd>
                </dl>
            </div>
            <?php else: ?>
            <div class="s_h_s02 overflow_h">
                <dl>
                    <dt><a href="<?php echo url('Store/index',['uid'=>$info['user_id']]); ?>"><img src="<?php echo $user['headimgurl']; ?>" ></a></dt>
                    <dd><span class="s_th1"><?php echo $user['nickname']; ?></span><div class=" float_l"><span class="s_th2"></span><span class="s_th3">该房源我最了解，实时保持更新</span></div></dd>
                    <dd><?php if(!(empty($user['cardimg']) || (($user['cardimg'] instanceof \think\Collection || $user['cardimg'] instanceof \think\Paginator ) && $user['cardimg']->isEmpty()))): ?><span class="s_th4">身份认证</span><?php endif; ?><span class="s_th5">手机认证</span><a href="javascript:;" data-uri="<?php echo url('Ajax/rentalBook',['id'=>$info['id'],'type'=>1]); ?>" class="J_dialog but16">预约看房</a></dd>
                    <dd><?php echo $user['company']; ?></dd>
                </dl>
            </div>
            <?php endif; ?>
            <div class="s_h_s03">
                <div>
                    <span><?php echo $info['contact_phone']; ?></span>
                    <i>联系时请说："在<?php echo $site['title']; ?>看到..."</i>
                </div>
            </div>
        </div>
    </div>

    <div class="m_t_15 overflow_h">
        <div class="n_h_n3_l">
            <div class="news_h_box">
                <div class="fy_d">
                    <div class="title03"><span class="title-selected">房源介绍</span></div>
                    <div class="fang_description">
                        <?php echo $info['info']; if(!(empty($peitao) || (($peitao instanceof \think\Collection || $peitao instanceof \think\Paginator ) && $peitao->isEmpty()))): ?>
                        <div><span style="color:#00be78;">房间配套：</span>
                        <ul class="peitao">
                        <?php echo $peitao; ?>
                        </ul>
                        </div>
                        <?php endif; ?>
                    </div>
                </div>
                <?php if(!(empty($info['tese']) || (($info['tese'] instanceof \think\Collection || $info['tese'] instanceof \think\Paginator ) && $info['tese']->isEmpty()))): ?>
                <div class="fy_img">
                    <div class="title03"><span class="title-selected">房源特色</span></div>
                    <div class="fang_description">
                        <?php echo $info['tese']; ?>
                    </div>
                </div>
                <?php endif; if(!(empty($info['file']) || (($info['file'] instanceof \think\Collection || $info['file'] instanceof \think\Paginator ) && $info['file']->isEmpty()))): ?>
                <div class="fy_img">
                    <div class="title03"><span class="title-selected">房源图片</span></div>
                    <ul class="overflow_h">
                        <?php if(is_array($info['file']) || $info['file'] instanceof \think\Collection || $info['file'] instanceof \think\Paginator): $i = 0; $__LIST__ = $info['file'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li <?php if($i%2 != 0): ?>class="mar02"<?php endif; ?>><a class="img_list"  rel="prettyPhoto[]" title="<?php echo $vo['title']; ?>" href="<?php echo $vo['url']; ?>"><img src="<?php echo $vo['url']; ?>" width="398" height="300" /></a></li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
                <?php endif; ?>
                <div class="m_t_15 overflow_h">
                    <div class="title03"><span class="title-selected">周边配套</span></div>
                    <iframe width="100%" height="auto" frameborder="0" scrolling="no" src="<?php echo url('Api/map',['id'=>$info['id'],'model'=>'rental','lat'=>$info['lat'],'lng'=>$info['lng']]); ?>" id="main" style="height: 500px;"></iframe>

                </div>

                <div class="fy_tl overflow_h" >
                    <div class="title03"><span class="title-selected">本小区相关房源</span></div>
                    <ul>
                        <?php $estate_id=$info['estate_id'];$city=$cityInfo['id']; $obj = model("rental");$obj->where("status=1 and estate_id=$estate_id");$obj->field("id,title,mianji,price,img,room,ting,mianji");$name = $obj->limit(8)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li <?php if($i % 4 == 0): ?>style="margin-right:0;"<?php endif; ?>>
                            <span class="fy_tl_img"><img src="__IMG__/loading.gif" class="lazy" data-original="<?php echo $vo['img']; ?>" width="190" height="148"></span>
                            <b><a href="<?php echo url('Chuzu/detail',['id'=>$vo['id']]); ?>" title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a></b>
                            <p><span class="more"><?php echo $vo['room']; ?>室<?php echo $vo['ting']; ?>厅 <?php echo $vo['mianji']; ?>m<sup>2</sup></span><span class="text14"><?php echo $vo['price']; ?></span>元/月</p>
                        </li>
                        <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                    </ul>
                </div>
                <?php if(!(empty($estate) || (($estate instanceof \think\Collection || $estate instanceof \think\Paginator ) && $estate->isEmpty()))): ?>
                <div class="fy_infor">
                    <div class="overflow_h">
                        <div class="title03"><span class="title-selected">小区简介</span></div>
                        <div class="fang_description">
                            <?php echo $estate; ?>
                        </div>
                    </div>
                </div>
                <?php endif; ?>
                <div class="fy_tl overflow_h" >
                    <div class="title03"><span class="more"><a href="<?php echo url('Chuzu/index'); ?>">更多 ></a></span><span class="title-selected">猜你喜欢</span></div>
                    <ul>
                        <?php $minprice=$info['price']-500;$maxprice=$info['price']+500; $obj = model("rental");$obj->where("status=1 and city=$city and price<$maxprice and price>$minprice");$obj->field("id,title,mianji,price,img,room,ting,mianji");$name = $obj->limit(8)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li <?php if($i % 4 == 0): ?>style="margin-right:0;"<?php endif; ?>>
                        <span class="fy_tl_img"><img src="__IMG__/loading.gif" class="lazy" data-original="<?php echo $vo['img']; ?>" width="190" height="148"></span>
                        <b><a href="<?php echo url('Chuzu/detail',['id'=>$vo['id']]); ?>" title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a></b>
                        <p><span class="more"><?php echo $vo['room']; ?>室<?php echo $vo['ting']; ?>厅 <?php echo $vo['mianji']; ?>m<sup>2</sup></span><span class="text14"><?php echo $vo['price']; ?></span>元/月</p>
                        </li>
                        <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                    </ul>
                </div>
                <div class="fy_infor">
                    <div class="overflow_h">
                        <div class="title03"><span class="title-selected">免责申明</span></div>
                        <div class="fang_description">
                            <?php echo $explain; ?>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <div class="house_r">
            <div class="title01"><?php echo $cityInfo['name']; ?>推荐出租房</div>
            <div class="s_h_tuijian">
                <ul><?php $cityid=$cityInfo['id']; $obj = model("position");$obj->where("status=1 and cate_id=5 and model='rental' and city=$cityid");$obj->field("house_id,img,title,data");$obj->order("ordid asc,id desc");$name = $obj->limit(5)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
    <li>
        <span class="s_h_tuij_img"><a href="<?php echo url('Chuzu/detail',['id'=>$data['house_id']]); ?>" title="<?php echo $data['title']; ?>"><img src="<?php echo $data['img']; ?>" width="295" height="165"></a></span>
        <b><i><?php echo $data['data']['price']; ?>元/月</i><a href="<?php echo url('Chuzu/detail',['id'=>$data['house_id']]); ?>"><?php echo $data['title']; ?></a></b>
        <p>
            <?php echo $data['data']['room']; ?>房<?php echo $data['data']['ting']; ?>厅
        </p>
    </li>
    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
</ul>
            </div>
        </div>

    </div>

</div>
<link rel="stylesheet" href="__PUBLIC__/js/photo/css/prettyPhoto.css">
<script src="__PUBLIC__/js/photo/jquery.prettyPhoto.js"></script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script src="__JS__/imgList/js/carousel.min.js"></script>
<script>
    $(function(){
        $(".detail_slide").thumbnailImg({
            large_elem: ".large_box",
            small_elem: ".small_list",
            left_btn: ".left_btn",
            right_btn: ".right_btn"
        });
        $("a[rel^='prettyPhoto']").prettyPhoto();
        $('.J_dialog').bind('click',function(){
            var url = $(this).data('uri');
            layer.open({
                type: 2,
                title: false,
                area: ['500px', '400px'],
                shade: 0,
                closeBtn: 1,
                shadeClose: true,
                content:url
            });
        });
    });
</script>

<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：<?php echo $site['telphone']; ?></span>
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 2): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a target="<?php echo $vo['open_type']; ?>" href="<?php echo $url; ?>"><?php echo $vo['title']; ?></a> </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected"><?php echo $cityInfo['name']; ?>新房推荐</a></li>
                    <li><a href="javascript:;"><?php echo $cityInfo['name']; ?>二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Loupan/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>新房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Second/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>二手房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    <?php $obj = model("link");$obj->where("status=1");$obj->field("name,url");$obj->order("ordid asc,id desc");$name = $obj->limit(50)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>" target="_blank"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © <?php echo date("Y"); ?> <?php echo config('url_domain_root'); ?>. All Rights Reserved ICP备案号：<?php echo $site['icp']; ?></p>
                <p>公司名称：<?php echo $site['companyname']; ?></p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="<?php echo $site['weixin_pic']; ?>" width="90" height="90"></span>
                        <p>关注<?php echo $site['title']; ?>微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
<?php echo $site['countcode']; ?>
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script>
    $(function(){
        $('#search-btn').bind('click',function(){
            var keyword = $('#keyword').val();
            if(keyword.length==0){
                layer.msg('请填写楼盘关键词',{icon:2});
                return false;
            }
            $('#search-form').submit();
        });
    });
</script>
</body>
</html>
